package com.hunan.api.catv.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author: wangchao
 * @Date: 2020/10/22 11:42
 */
@Data
@ExcelTarget("20")
public class MemberAssetsVo implements Serializable {

    /**
     * 主键id
     */
    private Integer id;

    /**
     * 会员id
     */
    @Excel(name = "会员ID", width = 15)
    private Integer memberId;

    /**
     * 总资产 默认为元
     */
    @Excel(name = "总资产", width = 15)
    private BigDecimal totalAssets;

    /**
     * 提现总金额 默认为元
     */
    //@Excel(name = "总资产",width = 15)
    private BigDecimal totalAmount;

    /**
     * 不可用资产 默认为元
     */
    private BigDecimal unavailableAssets;

    /**
     * 资产类型
     */
    private Integer accountType;

    /**
     * 逻辑删除 0:已删除  1:未删除
     */
    private Integer deleted;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    @Excel(name = "创建时间", width = 15)
    private Date createTime;

    private String startCreateTime;

    private String endCreateTime;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    /**
     * 创建人
     */
    private String createName;

    private Integer createBy;

    private Integer updateBy;

    /**
     * 更新人
     */
    private String updateName;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 用户昵称
     */
    @Excel(name = "用户昵称", width = 15)
    private String nickName;

    @Excel(name = "手机号", width = 15)
    private String phone;

    /**
     * 邀请总次数
     */
    private Integer inviteTotalNums;
}
